#include <iostream>

using namespace std;
void Digitos(long int n);

int main(){
int* arreglo;

arreglo = new int[static_cast<int>(log10(n))]

return 0;

}

void Digitos(long int n){
while(n>0)

arreglo[i] = n % 10;
n /10;

}
